package com.google.code.irouter.portal.client.dashboard.main.center.managers.relation.browser.monitor.relations.command;

import com.google.code.irouter.portal.client.dashboard.main.center.managers.relation.browser.monitor.Relations;
import com.gwtext.client.core.EventObject;
import com.gwtext.client.core.Ext;
import com.gwtext.client.widgets.Button;
import com.gwtext.client.widgets.event.ButtonListenerAdapter;

public final class RemoveListener extends ButtonListenerAdapter {
	@Override
	public void onClick(Button button, EventObject e) {
		((Relations) Ext.getCmp(Relations.class.getName())).remove();
	}
}
